<template>
	<view class="pages">
		<view class="u-p-l-35 u-p-r-35">
			<view class="bg-white h-80 u-font-24 class-type flex align-center justify-center">
				学科门类XXXXX 一级学科
				<u-icon class="u-m-l-30" name="arrow-down" color="#73839A" size="24"></u-icon>
			</view>
			<view class="h-80 bg-white text-center u-font-32 bold color555 u-m-t-20">
				科目名称xxxx
			</view>
		</view>
		<view class="flex u-m-t-20">
			<view class="aslie bg-white">
				<view class="u-font-32 bold u-m-b-20 color333 u-p-t-10">章的名称</view>
				<view v-for="(item,index) in aslie" :key="index" class="u-m-b-30">
					<u-input :clearable="false" border class="h-80 bg-white text-center bold u-font-32" v-model="item.name">
					</u-input>
				</view>
			</view>
			<view class="main u-m-l-20">
				<view class="u-font-32 bold u-m-b-20 color333 u-p-t-10">节的名称</view>
				<view v-for="(item,index) in aslie" :key="index" class="u-m-b-30">
					<u-input :clearable="false" border class="h-80 bg-white text-center bold u-font-32"
						v-model="item.name"></u-input>
				</view>
				<!-- <view class="h-80 bg-white text-center u-m-b-30 bold u-font-32" v-for="(item,index) in aslie" :key="index">{{item.name}}</view> -->
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				aslie: [{
					name: "UI设计"
				}, {
					name: "前端开发"
				}, {
					name: "PHP"
				}, {
					name: "JAVA"
				}, {
					name: "D3"
				}, {
					name: "NODEJS"
				}, {
					name: "人工智能"
				}, {
					name: "大数据算法"
				}, {
					name: "PM"
				}, {
					name: "JAVA"
				}, {
					name: "D3"
				}, {
					name: "NODEJS"
				}, {
					name: "人工智能"
				}, {
					name: "大数据算法"
				}, {
					name: "PM"
				}],
			}
		},
		methods: {

		}
	}
</script>

<style scoped lang="scss">
	.pages {
		background-color: #F6F8F6;
		min-height: 100vh;
		padding-top: 20rpx;

		.class-type {
			color: #73839A;
		}

		.h-80 {
			height: 80rpx;
			line-height: 80rpx;
		}

		.aslie {
			width: 316rpx;
			padding: 12rpx;
		}

		.main {
			flex: 1;
			padding: 12rpx;
			background-color: #ffffff;
		}
	}
</style>